﻿using System.Web.Mvc;
using IterationLife.Extensions.MvcApi;
using IterationLife.Mobile.AppServices.Services.Football;

namespace IterationLife.Mobile.ApiGateway.Areas.Football.Controllers
{
    public class SportController : MvcApiController
    {

        private ISportService _sportService;

        public SportController(ISportService sportService)
        {
            _sportService = sportService;
        }

        public ActionResult GetTimeLineDatas(string uid)
        {
            return Ok(_sportService.GetTimeLineDatas(uid));
        }
    }
}